home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / Traps.p < prev    next >
Text File  |  1996-05-01  |  25KB  |  977 lines

  1. {
  2.      File:        Traps.p
  3.  
  4.      Contains:    A-Trap constants.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT Traps;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __TRAPS__}
  28. {$SETC __TRAPS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC TrapsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __CONDITIONALMACROS__}
  35. {$I ConditionalMacros.p}
  36. {$ENDC}
  37.  
  38. {$PUSH}
  39. {$ALIGN MAC68K}
  40. {$LibExport+}
  41.  
  42. {   QuickDraw  }
  43.  
  44. CONST
  45.     _NQDMisc                    = $ABC3;
  46.     _CopyMask                    = $A817;
  47.     _MeasureText                = $A837;
  48.     _GetMaskTable                = $A836;
  49.     _CalcMask                    = $A838;
  50.     _SeedFill                    = $A839;
  51.     _InitCursor                    = $A850;
  52.     _SetCursor                    = $A851;
  53.     _HideCursor                    = $A852;
  54.     _ShowCursor                    = $A853;
  55.     _ShieldCursor                = $A855;
  56.     _ObscureCursor                = $A856;
  57.     _BitAnd                        = $A858;
  58.     _BitXOr                        = $A859;
  59.     _BitNot                        = $A85A;
  60.     _BitOr                        = $A85B;
  61.     _BitShift                    = $A85C;
  62.     _BitTst                        = $A85D;
  63.     _BitSet                        = $A85E;
  64.     _BitClr                        = $A85F;
  65.     _Random                        = $A861;
  66.     _ForeColor                    = $A862;
  67.     _BackColor                    = $A863;
  68.     _ColorBit                    = $A864;
  69.     _GetPixel                    = $A865;
  70.     _StuffHex                    = $A866;
  71.     _LongMul                    = $A867;
  72.     _FixMul                        = $A868;
  73.     _FixRatio                    = $A869;
  74.     _HiWord                        = $A86A;
  75.     _LoWord                        = $A86B;
  76.     _FixRound                    = $A86C;
  77.     _InitPort                    = $A86D;
  78.     _InitGraf                    = $A86E;
  79.     _OpenPort                    = $A86F;
  80.     _LocalToGlobal                = $A870;
  81.     _GlobalToLocal                = $A871;
  82.     _GrafDevice                    = $A872;
  83.     _SetPort                    = $A873;
  84.     _GetPort                    = $A874;
  85.     _SetPBits                    = $A875;
  86.     _PortSize                    = $A876;
  87.     _MovePortTo                    = $A877;
  88.     _SetOrigin                    = $A878;
  89.     _SetClip                    = $A879;
  90.     _GetClip                    = $A87A;
  91.     _ClipRect                    = $A87B;
  92.     _BackPat                    = $A87C;
  93.     _ClosePort                    = $A87D;
  94.     _AddPt                        = $A87E;
  95.     _SubPt                        = $A87F;
  96.     _SetPt                        = $A880;
  97.     _EqualPt                    = $A881;
  98.     _StdText                    = $A882;
  99.     _DrawChar                    = $A883;
  100.     _DrawString                    = $A884;
  101.     _DrawText                    = $A885;
  102.     _TextWidth                    = $A886;
  103.     _TextFont                    = $A887;
  104.     _TextFace                    = $A888;
  105.     _TextMode                    = $A889;
  106.     _TextSize                    = $A88A;
  107.     _GetFontInfo                = $A88B;
  108.     _StringWidth                = $A88C;
  109.     _CharWidth                    = $A88D;
  110.     _SpaceExtra                    = $A88E;
  111.     _StdLine                    = $A890;
  112.     _LineTo                        = $A891;
  113.     _Line                        = $A892;
  114.  
  115.     _MoveTo                        = $A893;
  116.     _Move                        = $A894;
  117.     _ShutDown                    = $A895;
  118.     _HidePen                    = $A896;
  119.     _ShowPen                    = $A897;
  120.     _GetPenState                = $A898;
  121.     _SetPenState                = $A899;
  122.     _GetPen                        = $A89A;
  123.     _PenSize                    = $A89B;
  124.     _PenMode                    = $A89C;
  125.     _PenPat                        = $A89D;
  126.     _PenNormal                    = $A89E;
  127.     _Unimplemented                = $A89F;
  128.     _StdRect                    = $A8A0;
  129.     _FrameRect                    = $A8A1;
  130.     _PaintRect                    = $A8A2;
  131.     _EraseRect                    = $A8A3;
  132.     _InverRect                    = $A8A4;
  133.     _FillRect                    = $A8A5;
  134.     _EqualRect                    = $A8A6;
  135.     _SetRect                    = $A8A7;
  136.     _OffsetRect                    = $A8A8;
  137.     _InsetRect                    = $A8A9;
  138.     _SectRect                    = $A8AA;
  139.     _UnionRect                    = $A8AB;
  140.     _Pt2Rect                    = $A8AC;
  141.     _PtInRect                    = $A8AD;
  142.     _EmptyRect                    = $A8AE;
  143.     _StdRRect                    = $A8AF;
  144.     _FrameRoundRect                = $A8B0;
  145.     _PaintRoundRect                = $A8B1;
  146.     _EraseRoundRect                = $A8B2;
  147.     _InverRoundRect                = $A8B3;
  148.     _FillRoundRect                = $A8B4;
  149.     _StdOval                    = $A8B6;
  150.     _FrameOval                    = $A8B7;
  151.     _PaintOval                    = $A8B8;
  152.     _EraseOval                    = $A8B9;
  153.     _InvertOval                    = $A8BA;
  154.     _FillOval                    = $A8BB;
  155.     _SlopeFromAngle                = $A8BC;
  156.     _StdArc                        = $A8BD;
  157.     _FrameArc                    = $A8BE;
  158.     _PaintArc                    = $A8BF;
  159.     _EraseArc                    = $A8C0;
  160.     _InvertArc                    = $A8C1;
  161.     _FillArc                    = $A8C2;
  162.     _PtToAngle                    = $A8C3;
  163.     _AngleFromSlope                = $A8C4;
  164.     _StdPoly                    = $A8C5;
  165.     _FramePoly                    = $A8C6;
  166.     _PaintPoly                    = $A8C7;
  167.     _ErasePoly                    = $A8C8;
  168.     _InvertPoly                    = $A8C9;
  169.     _FillPoly                    = $A8CA;
  170.     _OpenPoly                    = $A8CB;
  171.     _ClosePgon                    = $A8CC;
  172.     _ClosePoly                    = $A8CC;
  173.     _KillPoly                    = $A8CD;
  174.     _OffsetPoly                    = $A8CE;
  175.     _PackBits                    = $A8CF;
  176.     _UnpackBits                    = $A8D0;
  177.     _StdRgn                        = $A8D1;
  178.     _FrameRgn                    = $A8D2;
  179.     _PaintRgn                    = $A8D3;
  180.     _EraseRgn                    = $A8D4;
  181.     _InverRgn                    = $A8D5;
  182.     _FillRgn                    = $A8D6;
  183.     _BitMapRgn                    = $A8D7;
  184.     _BitMapToRegion                = $A8D7;
  185.     _NewRgn                        = $A8D8;
  186.     _DisposRgn                    = $A8D9;
  187.     _DisposeRgn                    = $A8D9;
  188.     _OpenRgn                    = $A8DA;
  189.     _CloseRgn                    = $A8DB;
  190.     _CopyRgn                    = $A8DC;
  191.     _SetEmptyRgn                = $A8DD;
  192.     _SetRecRgn                    = $A8DE;
  193.     _RectRgn                    = $A8DF;
  194.     _OffsetRgn                    = $A8E0;
  195.     _InsetRgn                    = $A8E1;
  196.     _EmptyRgn                    = $A8E2;
  197.     _EqualRgn                    = $A8E3;
  198.     _SectRgn                    = $A8E4;
  199.     _UnionRgn                    = $A8E5;
  200.     _DiffRgn                    = $A8E6;
  201.     _XOrRgn                        = $A8E7;
  202.     _PtInRgn                    = $A8E8;
  203.     _RectInRgn                    = $A8E9;
  204.     _SetStdProcs                = $A8EA;
  205.     _StdBits                    = $A8EB;
  206.     _CopyBits                    = $A8EC;
  207.     _StdTxMeas                    = $A8ED;
  208.     _StdGetPic                    = $A8EE;
  209.     _ScrollRect                    = $A8EF;
  210.     _StdPutPic                    = $A8F0;
  211.     _StdComment                    = $A8F1;
  212.     _PicComment                    = $A8F2;
  213.     _OpenPicture                = $A8F3;
  214.     _ClosePicture                = $A8F4;
  215.     _KillPicture                = $A8F5;
  216.     _DrawPicture                = $A8F6;
  217.     _Layout                        = $A8F7;
  218.     _ScalePt                    = $A8F8;
  219.     _MapPt                        = $A8F9;
  220.     _MapRect                    = $A8FA;
  221.     _MapRgn                        = $A8FB;
  222.     _MapPoly                    = $A8FC;
  223.  
  224. {  the following are defined for C only.  They only make sense for a case-sensitive compiler <7> }
  225. {  Toolbox  }
  226.     _Count1Resources            = $A80D;
  227.     _Get1IxResource                = $A80E;
  228.     _Get1IxType                    = $A80F;
  229.     _Unique1ID                    = $A810;
  230.     _TESelView                    = $A811;
  231.     _TEPinScroll                = $A812;
  232.     _TEAutoView                    = $A813;
  233.     _Pack8                        = $A816;
  234.     _FixATan2                    = $A818;
  235.     _XMunger                    = $A819;
  236.     _HOpenResFile                = $A81A;
  237.     _HCreateResFile                = $A81B;
  238.     _Count1Types                = $A81C;
  239.     _Get1Resource                = $A81F;
  240.     _Get1NamedResource            = $A820;
  241.     _ResourceDispatch            = $A822;
  242.     _MaxSizeRsrc                = $A821;
  243.     _InsMenuItem                = $A826;
  244.     _InsertMenuItem                = $A826;
  245.     _HideDItem                    = $A827;
  246.     _HideDialogItem                = $A827;
  247.     _ShowDItem                    = $A828;
  248.     _ShowDialogItem                = $A828;
  249.     _Pack9                        = $A82B;
  250.     _Pack10                        = $A82C;
  251.     _Pack11                        = $A82D;
  252.     _Pack12                        = $A82E;
  253.     _Pack13                        = $A82F;
  254.     _Pack14                        = $A830;
  255.     _Pack15                        = $A831;
  256.     _ScrnBitMap                    = $A833;
  257.     _SetFScaleDisable            = $A834;
  258.     _FontMetrics                = $A835;
  259.     _ZoomWindow                    = $A83A;
  260.     _TrackBox                    = $A83B;
  261.     _PrGlue                        = $A8FD;
  262.     _InitFonts                    = $A8FE;
  263.     _GetFName                    = $A8FF;
  264.     _GetFNum                    = $A900;
  265.     _FMSwapFont                    = $A901;
  266.     _RealFont                    = $A902;
  267.     _SetFontLock                = $A903;
  268.     _DrawGrowIcon                = $A904;
  269.     _DragGrayRgn                = $A905;
  270.     _NewString                    = $A906;
  271.     _SetString                    = $A907;
  272.     _ShowHide                    = $A908;
  273.     _CalcVis                    = $A909;
  274.     _CalcVBehind                = $A90A;
  275.     _ClipAbove                    = $A90B;
  276.     _PaintOne                    = $A90C;
  277.     _PaintBehind                = $A90D;
  278.     _SaveOld                    = $A90E;
  279.     _DrawNew                    = $A90F;
  280.     _GetWMgrPort                = $A910;
  281.     _CheckUpDate                = $A911;
  282.     _InitWindows                = $A912;
  283.     _NewWindow                    = $A913;
  284.     _DisposWindow                = $A914;
  285.     _DisposeWindow                = $A914;
  286.     _ShowWindow                    = $A915;
  287.     _HideWindow                    = $A916;
  288.     _GetWRefCon                    = $A917;
  289.     _SetWRefCon                    = $A918;
  290.     _GetWTitle                    = $A919;
  291.     _SetWTitle                    = $A91A;
  292.     _MoveWindow                    = $A91B;
  293.     _HiliteWindow                = $A91C;
  294.     _SizeWindow                    = $A91D;
  295.     _TrackGoAway                = $A91E;
  296.     _SelectWindow                = $A91F;
  297.     _BringToFront                = $A920;
  298.     _SendBehind                    = $A921;
  299.     _BeginUpDate                = $A922;
  300.     _EndUpDate                    = $A923;
  301.     _FrontWindow                = $A924;
  302.     _DragWindow                    = $A925;
  303.     _DragTheRgn                    = $A926;
  304.     _InvalRgn                    = $A927;
  305.     _InvalRect                    = $A928;
  306.     _ValidRgn                    = $A929;
  307.     _ValidRect                    = $A92A;
  308.     _GrowWindow                    = $A92B;
  309.     _FindWindow                    = $A92C;
  310.     _CloseWindow                = $A92D;
  311.     _SetWindowPic                = $A92E;
  312.     _GetWindowPic                = $A92F;
  313.  
  314.     _InitMenus                    = $A930;
  315.     _NewMenu                    = $A931;
  316.     _DisposMenu                    = $A932;
  317.     _DisposeMenu                = $A932;
  318.     _AppendMenu                    = $A933;
  319.     _ClearMenuBar                = $A934;
  320.     _InsertMenu                    = $A935;
  321.     _DeleteMenu                    = $A936;
  322.     _DrawMenuBar                = $A937;
  323.     _InvalMenuBar                = $A81D;
  324.     _HiliteMenu                    = $A938;
  325.     _EnableItem                    = $A939;
  326.     _DisableItem                = $A93A;
  327.     _GetMenuBar                    = $A93B;
  328.     _SetMenuBar                    = $A93C;
  329.     _MenuSelect                    = $A93D;
  330.     _MenuKey                    = $A93E;
  331.     _GetItmIcon                    = $A93F;
  332.     _SetItmIcon                    = $A940;
  333.     _GetItmStyle                = $A941;
  334.     _SetItmStyle                = $A942;
  335.     _GetItmMark                    = $A943;
  336.     _SetItmMark                    = $A944;
  337.     _CheckItem                    = $A945;
  338.     _GetItem                    = $A946;
  339.     _GetMenuItemText            = $A946;
  340.     _SetItem                    = $A947;
  341.     _SetMenuItemText            = $A947;
  342.     _CalcMenuSize                = $A948;
  343.     _GetMHandle                    = $A949;
  344.     _GetMenuHandle                = $A949;
  345.     _SetMFlash                    = $A94A;
  346.     _PlotIcon                    = $A94B;
  347.     _FlashMenuBar                = $A94C;
  348.     _AddResMenu                    = $A94D;
  349.     _AppendResMenu                = $A94D;
  350.     _PinRect                    = $A94E;
  351.     _DeltaPoint                    = $A94F;
  352.     _CountMItems                = $A950;
  353.     _InsertResMenu                = $A951;
  354.     _DelMenuItem                = $A952;
  355.     _DeleteMenuItem                = $A952;
  356.     _UpdtControl                = $A953;
  357.     _NewControl                    = $A954;
  358.     _DisposControl                = $A955;
  359.     _DisposeControl                = $A955;
  360.     _KillControls                = $A956;
  361.     _ShowControl                = $A957;
  362.     _HideControl                = $A958;
  363.     _MoveControl                = $A959;
  364.     _GetCRefCon                    = $A95A;
  365.     _GetControlReference        = $A95A;
  366.     _SetCRefCon                    = $A95B;
  367.     _SetControlReference        = $A95B;
  368.     _SizeControl                = $A95C;
  369.     _HiliteControl                = $A95D;
  370.     _GetCTitle                    = $A95E;
  371.     _GetControlTitle            = $A95E;
  372.     _SetCTitle                    = $A95F;
  373.     _SetControlTitle            = $A95F;
  374.     _GetCtlValue                = $A960;
  375.     _GetControlValue            = $A960;
  376.     _GetMinCtl                    = $A961;
  377.     _GetControlMinimum            = $A961;
  378.     _GetMaxCtl                    = $A962;
  379.     _GetControlMaximum            = $A962;
  380.     _SetCtlValue                = $A963;
  381.     _SetControlValue            = $A963;
  382.     _SetMinCtl                    = $A964;
  383.     _SetControlMinimum            = $A964;
  384.     _SetMaxCtl                    = $A965;
  385.     _SetControlMaximum            = $A965;
  386.     _TestControl                = $A966;
  387.     _DragControl                = $A967;
  388.     _TrackControl                = $A968;
  389.     _DrawControls                = $A969;
  390.     _GetCtlAction                = $A96A;
  391.     _GetControlAction            = $A96A;
  392.     _SetCtlAction                = $A96B;
  393.     _SetControlAction            = $A96B;
  394.     _FindControl                = $A96C;
  395.     _Draw1Control                = $A96D;
  396.  
  397.     _Dequeue                    = $A96E;
  398.     _Enqueue                    = $A96F;
  399.     _WaitNextEvent                = $A860;
  400.     _GetNextEvent                = $A970;
  401.     _EventAvail                    = $A971;
  402.     _GetMouse                    = $A972;
  403.     _StillDown                    = $A973;
  404.     _Button                        = $A974;
  405.     _TickCount                    = $A975;
  406.     _GetKeys                    = $A976;
  407.     _WaitMouseUp                = $A977;
  408.     _UpdtDialog                    = $A978;
  409.     _InitDialogs                = $A97B;
  410.     _GetNewDialog                = $A97C;
  411.     _NewDialog                    = $A97D;
  412.     _SelIText                    = $A97E;
  413.     _SelectDialogItemText        = $A97E;
  414.     _IsDialogEvent                = $A97F;
  415.     _DialogSelect                = $A980;
  416.     _DrawDialog                    = $A981;
  417.     _CloseDialog                = $A982;
  418.     _DisposDialog                = $A983;
  419.     _DisposeDialog                = $A983;
  420.     _FindDItem                    = $A984;
  421.     _FindDialogItem                = $A984;
  422.     _Alert                        = $A985;
  423.     _StopAlert                    = $A986;
  424.     _NoteAlert                    = $A987;
  425.     _CautionAlert                = $A988;
  426.     _ParamText                    = $A98B;
  427.     _ErrorSound                    = $A98C;
  428.     _GetDItem                    = $A98D;
  429.     _GetDialogItem                = $A98D;
  430.     _SetDItem                    = $A98E;
  431.     _SetDialogItem                = $A98E;
  432.     _SetIText                    = $A98F;
  433.     _SetDialogItemText            = $A98F;
  434.     _GetIText                    = $A990;
  435.     _GetDialogItemText            = $A990;
  436.     _ModalDialog                = $A991;
  437.     _DetachResource                = $A992;
  438.     _SetResPurge                = $A993;
  439.     _CurResFile                    = $A994;
  440.     _InitResources                = $A995;
  441.     _RsrcZoneInit                = $A996;
  442.     _OpenResFile                = $A997;
  443.     _UseResFile                    = $A998;
  444.     _UpdateResFile                = $A999;
  445.     _CloseResFile                = $A99A;
  446.     _SetResLoad                    = $A99B;
  447.     _CountResources                = $A99C;
  448.     _GetIndResource                = $A99D;
  449.     _CountTypes                    = $A99E;
  450.     _GetIndType                    = $A99F;
  451.     _GetResource                = $A9A0;
  452.     _GetNamedResource            = $A9A1;
  453.     _LoadResource                = $A9A2;
  454.     _ReleaseResource            = $A9A3;
  455.     _HomeResFile                = $A9A4;
  456.     _SizeRsrc                    = $A9A5;
  457.     _GetResAttrs                = $A9A6;
  458.     _SetResAttrs                = $A9A7;
  459.     _GetResInfo                    = $A9A8;
  460.     _SetResInfo                    = $A9A9;
  461.     _ChangedResource            = $A9AA;
  462.     _AddResource                = $A9AB;
  463.     _AddReference                = $A9AC;
  464.     _RmveResource                = $A9AD;
  465.     _RmveReference                = $A9AE;
  466.     _ResError                    = $A9AF;
  467.     _WriteResource                = $A9B0;
  468.     _CreateResFile                = $A9B1;
  469.     _SystemEvent                = $A9B2;
  470.     _SystemClick                = $A9B3;
  471.     _SystemTask                    = $A9B4;
  472.     _SystemMenu                    = $A9B5;
  473.     _OpenDeskAcc                = $A9B6;
  474.     _CloseDeskAcc                = $A9B7;
  475.     _GetPattern                    = $A9B8;
  476.     _GetCursor                    = $A9B9;
  477.     _GetString                    = $A9BA;
  478.     _GetIcon                    = $A9BB;
  479.     _GetPicture                    = $A9BC;
  480.     _GetNewWindow                = $A9BD;
  481.     _GetNewControl                = $A9BE;
  482.     _GetRMenu                    = $A9BF;
  483.     _GetNewMBar                    = $A9C0;
  484.     _UniqueID                    = $A9C1;
  485.     _SysEdit                    = $A9C2;
  486.     _OpenRFPerm                    = $A9C4;
  487.     _RsrcMapEntry                = $A9C5;
  488.     _Secs2Date                    = $A9C6;
  489.     _SecondsToDate                = $A9C6;
  490.     _Date2Secs                    = $A9C7;
  491.     _DateToSeconds                = $A9C7;
  492.     _SysBeep                    = $A9C8;
  493.     _SysError                    = $A9C9;
  494.     _PutIcon                    = $A9CA;
  495.     _Munger                        = $A9E0;
  496.     _HandToHand                    = $A9E1;
  497.     _PtrToXHand                    = $A9E2;
  498.     _PtrToHand                    = $A9E3;
  499.     _HandAndHand                = $A9E4;
  500.     _InitPack                    = $A9E5;
  501.     _InitAllPacks                = $A9E6;
  502.     _Pack0                        = $A9E7;
  503.     _Pack1                        = $A9E8;
  504.     _Pack2                        = $A9E9;
  505.     _Pack3                        = $A9EA;
  506.     _FP68K                        = $A9EB;
  507.     _Pack4                        = $A9EB;
  508.     _Elems68K                    = $A9EC;
  509.     _Pack5                        = $A9EC;
  510.     _Pack6                        = $A9ED;
  511.     _DECSTR68K                    = $A9EE;
  512.     _Pack7                        = $A9EE;
  513.     _PtrAndHand                    = $A9EF;
  514.     _LoadSeg                    = $A9F0;
  515.     _UnLoadSeg                    = $A9F1;
  516.     _Launch                        = $A9F2;
  517.     _Chain                        = $A9F3;
  518.     _ExitToShell                = $A9F4;
  519.     _GetAppParms                = $A9F5;
  520.     _GetResFileAttrs            = $A9F6;
  521.     _SetResFileAttrs            = $A9F7;
  522.     _MethodDispatch                = $A9F8;
  523.     _InfoScrap                    = $A9F9;
  524.     _UnlodeScrap                = $A9FA;
  525.     _UnloadScrap                = $A9FA;
  526.     _LodeScrap                    = $A9FB;
  527.     _LoadScrap                    = $A9FB;
  528.     _ZeroScrap                    = $A9FC;
  529.     _GetScrap                    = $A9FD;
  530.     _PutScrap                    = $A9FE;
  531.     _Debugger                    = $A9FF;
  532.     _DisplayDispatch            = $ABEB;
  533.     _IconDispatch                = $ABC9;
  534.     _ThreadDispatch                = $ABF2;
  535.     _DictionaryDispatch            = $AA53;
  536.     _DebugStr                    = $ABFF;
  537.  
  538.                                                                 {  PPCToolbox  }
  539.     _PPC                        = $A0DD;                        {  Alias Manager  }
  540.     _AliasDispatch                = $A823;                        {  Device Manager (some shared by the File Manager)  }
  541.     _Open                        = $A000;
  542.     _Close                        = $A001;
  543.     _Read                        = $A002;
  544.     _Write                        = $A003;
  545.     _Control                    = $A004;
  546.     _Status                        = $A005;
  547.     _KillIO                        = $A006;                        {  File Manager  }
  548.     _GetVolInfo                    = $A007;
  549.     _Create                        = $A008;
  550.     _Delete                        = $A009;
  551.     _OpenRF                        = $A00A;
  552.     _Rename                        = $A00B;
  553.     _GetFileInfo                = $A00C;
  554.     _SetFileInfo                = $A00D;
  555.     _UnmountVol                    = $A00E;
  556.     _HUnmountVol                = $A20E;
  557.     _MountVol                    = $A00F;
  558.     _Allocate                    = $A010;
  559.     _GetEOF                        = $A011;
  560.     _SetEOF                        = $A012;
  561.     _FlushVol                    = $A013;
  562.     _GetVol                        = $A014;
  563.     _SetVol                        = $A015;
  564.     _FInitQueue                    = $A016;
  565.     _Eject                        = $A017;
  566.     _GetFPos                    = $A018;
  567.     _SetFilLock                    = $A041;
  568.     _RstFilLock                    = $A042;
  569.     _SetFilType                    = $A043;
  570.     _SetFPos                    = $A044;
  571.     _FlushFile                    = $A045;
  572.     _HOpen                        = $A200;
  573.     _HGetVInfo                    = $A207;
  574.     _HCreate                    = $A208;
  575.     _HDelete                    = $A209;
  576.     _HOpenRF                    = $A20A;
  577.     _HRename                    = $A20B;
  578.     _HGetFileInfo                = $A20C;
  579.     _HSetFileInfo                = $A20D;
  580.     _AllocContig                = $A210;
  581.     _HSetVol                    = $A215;
  582.     _HGetVol                    = $A214;
  583.     _HSetFLock                    = $A241;
  584.     _HRstFLock                    = $A242;                        {  dispatch trap for remaining File Manager (and Desktop Manager) calls }
  585.     _FSDispatch                    = $A060;
  586.     _HFSDispatch                = $A260;                        {  High level FSSpec calls  }
  587.     _HighLevelFSDispatch        = $AA52;
  588.  
  589.                                                                 {  Memory Manager  }
  590.     _InitZone                    = $A019;
  591.     _GetZone                    = $A11A;
  592.     _SetZone                    = $A01B;
  593.     _FreeMem                    = $A01C;
  594.     _MaxMem                        = $A11D;
  595.     _NewPtr                        = $A11E;
  596.     _NewPtrSys                    = $A51E;
  597.     _NewPtrClear                = $A31E;
  598.     _NewPtrSysClear                = $A71E;
  599.     _DisposPtr                    = $A01F;
  600.     _DisposePtr                    = $A01F;
  601.     _SetPtrSize                    = $A020;
  602.     _GetPtrSize                    = $A021;
  603.     _NewHandle                    = $A122;
  604.     _NewHandleClear                = $A322;
  605.     _DisposHandle                = $A023;
  606.     _DisposeHandle                = $A023;
  607.     _SetHandleSize                = $A024;
  608.     _GetHandleSize                = $A025;
  609.     _HandleZone                    = $A126;
  610.     _ReallocHandle                = $A027;
  611.     _RecoverHandle                = $A128;
  612.     _HLock                        = $A029;
  613.     _HUnlock                    = $A02A;
  614.     _EmptyHandle                = $A02B;
  615.     _InitApplZone                = $A02C;
  616.     _SetApplLimit                = $A02D;
  617.     _BlockMove                    = $A02E;
  618.     _BlockMoveData                = $A22E;
  619.     _MemoryDispatch                = $A05C;
  620.     _MemoryDispatchA0Result        = $A15C;
  621.     _DeferUserFn                = $A08F;
  622.     _DebugUtil                    = $A08D;
  623.     _HeapDispatch                = $A0A4;
  624.  
  625.                                                                 {  Event Manager  }
  626.     _PostEvent                    = $A02F;
  627.     _PPostEvent                    = $A12F;
  628.     _OSEventAvail                = $A030;
  629.     _GetOSEvent                    = $A031;
  630.     _FlushEvents                = $A032;
  631.     _VInstall                    = $A033;
  632.     _VRemove                    = $A034;
  633.     _OffLine                    = $A035;
  634.     _MoreMasters                = $A036;
  635.     _WriteParam                    = $A038;
  636.     _ReadDateTime                = $A039;
  637.     _SetDateTime                = $A03A;
  638.     _Delay                        = $A03B;
  639.     _CmpString                    = $A03C;
  640.     _DrvrInstall                = $A03D;
  641.     _DrvrRemove                    = $A03E;
  642.     _InitUtil                    = $A03F;
  643.     _ResrvMem                    = $A040;
  644.     _GetTrapAddress                = $A146;
  645.     _SetTrapAddress                = $A047;
  646.     _GetOSTrapAddress            = $A346;
  647.     _SetOSTrapAddress            = $A247;
  648.     _GetToolTrapAddress            = $A746;
  649.     _SetToolTrapAddress            = $A647;
  650.     _GetToolBoxTrapAddress        = $A746;
  651.     _SetToolBoxTrapAddress        = $A647;
  652.     _PtrZone                    = $A148;
  653.     _HPurge                        = $A049;
  654.     _HNoPurge                    = $A04A;
  655.     _SetGrowZone                = $A04B;
  656.     _CompactMem                    = $A04C;
  657.     _PurgeMem                    = $A04D;
  658.     _AddDrive                    = $A04E;
  659.     _RDrvrInstall                = $A04F;
  660.     _LwrString                    = $A056;
  661.     _UprString                    = $A054;
  662.     _SetApplBase                = $A057;
  663.     _HWPriv                        = $A198;
  664.  
  665.     _LowerText                    = $A056;
  666.     _StripText                    = $A256;
  667.     _UpperText                    = $A456;
  668.     _StripUpperText                = $A656;
  669.     _OSDispatch                    = $A88F;
  670.     _RelString                    = $A050;
  671.     _CompareString                = $A050;
  672.     _ReadXPRam                    = $A051;
  673.     _WriteXPRam                    = $A052;
  674.     _InsTime                    = $A058;
  675.     _InsXTime                    = $A458;
  676.     _RmvTime                    = $A059;
  677.     _PrimeTime                    = $A05A;
  678.     _Microseconds                = $A193;
  679.     _PowerOff                    = $A05B;
  680.     _MaxBlock                    = $A061;
  681.     _PurgeSpace                    = $A162;
  682.     _PurgeSpaceSys                = $A562;
  683.     _MaxApplZone                = $A063;
  684.     _MoveHHi                    = $A064;
  685.     _StackSpace                    = $A065;
  686.     _NewEmptyHandle                = $A166;
  687.     _HSetRBit                    = $A067;
  688.     _HClrRBit                    = $A068;
  689.     _HGetState                    = $A069;
  690.     _HSetState                    = $A06A;
  691.     _InitFS                        = $A06C;
  692.     _InitEvents                    = $A06D;
  693.     _StripAddress                = $A055;
  694.     _Translate24To32            = $A091;
  695.     _SetAppBase                    = $A057;
  696.     _SwapMMUMode                = $A05D;
  697.     _SlotVInstall                = $A06F;
  698.     _SlotVRemove                = $A070;
  699.     _AttachVBL                    = $A071;
  700.     _DoVBLTask                    = $A072;
  701.     _SIntInstall                = $A075;
  702.     _SIntRemove                    = $A076;
  703.     _CountADBs                    = $A077;
  704.     _GetIndADB                    = $A078;
  705.     _GetADBInfo                    = $A079;
  706.     _SetADBInfo                    = $A07A;
  707.     _ADBReInit                    = $A07B;
  708.     _ADBOp                        = $A07C;
  709.     _VADBProc                    = $A0AE;
  710.     _GetDefaultStartup            = $A07D;
  711.     _SetDefaultStartup            = $A07E;
  712.     _InternalWait                = $A07F;
  713.     _RGetResource                = $A80C;
  714.     _GetVideoDefault            = $A080;
  715.     _SetVideoDefault            = $A081;
  716.     _DTInstall                    = $A082;
  717.     _SetOSDefault                = $A083;
  718.     _GetOSDefault                = $A084;
  719.     _IOPInfoAccess                = $A086;
  720.     _IOPMsgRequest                = $A087;
  721.     _IOPMoveData                = $A088;
  722.  
  723.                                                                 {  Power Manager  }
  724.     _PowerDispatch                = $A09F;
  725.     _PMgrOp                        = $A085;
  726.     _IdleUpdate                    = $A285;
  727.     _IdleState                    = $A485;
  728.     _SerialPower                = $A685;
  729.     _Sleep                        = $A08A;
  730.     _SleepQInstall                = $A28A;
  731.     _SlpQInstall                = $A28A;
  732.     _SleepQRemove                = $A48A;
  733.     _SlpQRemove                    = $A48A;
  734.     _CommToolboxDispatch        = $A08B;
  735.     _SysEnvirons                = $A090;
  736.     _Gestalt                    = $A1AD;
  737.     _NewGestalt                    = $A3AD;
  738.     _ReplaceGestalt                = $A5AD;
  739.     _GetGestaltProcPtr            = $A7AD;
  740.     _InitProcMenu                = $A808;
  741.     _GetItemCmd                    = $A84E;
  742.     _SetItemCmd                    = $A84F;
  743.     _PopUpMenuSelect            = $A80B;
  744.     _KeyTrans                    = $A9C3;
  745.     _KeyTranslate                = $A9C3;
  746.  
  747.                                                                 {  TextEdit  }
  748.     _TEGetText                    = $A9CB;
  749.     _TEInit                        = $A9CC;
  750.     _TEDispose                    = $A9CD;
  751.     _TextBox                    = $A9CE;
  752.     _TETextBox                    = $A9CE;
  753.     _TESetText                    = $A9CF;
  754.     _TECalText                    = $A9D0;
  755.     _TESetSelect                = $A9D1;
  756.     _TENew                        = $A9D2;
  757.     _TEUpdate                    = $A9D3;
  758.     _TEClick                    = $A9D4;
  759.     _TECopy                        = $A9D5;
  760.     _TECut                        = $A9D6;
  761.     _TEDelete                    = $A9D7;
  762.     _TEActivate                    = $A9D8;
  763.     _TEDeactivate                = $A9D9;
  764.     _TEIdle                        = $A9DA;
  765.     _TEPaste                    = $A9DB;
  766.     _TEKey                        = $A9DC;
  767.     _TEScroll                    = $A9DD;
  768.     _TEInsert                    = $A9DE;
  769.     _TESetJust                    = $A9DF;
  770.     _TESetAlignment                = $A9DF;
  771.     _TEGetOffset                = $A83C;
  772.     _TEDispatch                    = $A83D;
  773.     _TEStyleNew                    = $A83E;
  774.     _TEFindWord                    = $A0FE;
  775.     _TEFindLine                    = $A0FF;
  776.  
  777.                                                                 {  Color Quickdraw  }
  778.     _OpenCPort                    = $AA00;
  779.     _InitCPort                    = $AA01;
  780.     _CloseCPort                    = $AA02;
  781.     _NewPixMap                    = $AA03;
  782.     _DisposPixMap                = $AA04;
  783.     _DisposePixMap                = $AA04;
  784.     _CopyPixMap                    = $AA05;
  785.     _SetPortPix                    = $AA06;
  786.     _NewPixPat                    = $AA07;
  787.     _DisposPixPat                = $AA08;
  788.     _DisposePixPat                = $AA08;
  789.     _CopyPixPat                    = $AA09;
  790.     _PenPixPat                    = $AA0A;
  791.     _BackPixPat                    = $AA0B;
  792.     _GetPixPat                    = $AA0C;
  793.     _MakeRGBPat                    = $AA0D;
  794.     _FillCRect                    = $AA0E;
  795.     _FillCOval                    = $AA0F;
  796.     _FillCRoundRect                = $AA10;
  797.     _FillCArc                    = $AA11;
  798.     _FillCRgn                    = $AA12;
  799.     _FillCPoly                    = $AA13;
  800.     _RGBForeColor                = $AA14;
  801.     _RGBBackColor                = $AA15;
  802.     _SetCPixel                    = $AA16;
  803.     _GetCPixel                    = $AA17;
  804.     _GetCTable                    = $AA18;
  805.     _GetForeColor                = $AA19;
  806.     _GetBackColor                = $AA1A;
  807.     _GetCCursor                    = $AA1B;
  808.     _SetCCursor                    = $AA1C;
  809.     _AllocCursor                = $AA1D;
  810.     _GetCIcon                    = $AA1E;
  811.     _PlotCIcon                    = $AA1F;
  812.     _OpenCPicture                = $AA20;
  813.     _OpColor                    = $AA21;
  814.     _HiliteColor                = $AA22;
  815.     _CharExtra                    = $AA23;
  816.     _DisposCTable                = $AA24;
  817.     _DisposeCTable                = $AA24;
  818.     _DisposCIcon                = $AA25;
  819.     _DisposeCIcon                = $AA25;
  820.     _DisposCCursor                = $AA26;
  821.     _DisposeCCursor                = $AA26;
  822.     _SeedCFill                    = $AA50;
  823.     _CalcCMask                    = $AA4F;
  824.     _CopyDeepMask                = $AA51;
  825.  
  826.                                                                 {  Routines for video devices  }
  827.     _GetMaxDevice                = $AA27;
  828.     _GetCTSeed                    = $AA28;
  829.     _GetDeviceList                = $AA29;
  830.     _GetMainDevice                = $AA2A;
  831.     _GetNextDevice                = $AA2B;
  832.     _TestDeviceAttribute        = $AA2C;
  833.     _SetDeviceAttribute            = $AA2D;
  834.     _InitGDevice                = $AA2E;
  835.     _NewGDevice                    = $AA2F;
  836.     _DisposGDevice                = $AA30;
  837.     _DisposeGDevice                = $AA30;
  838.     _SetGDevice                    = $AA31;
  839.     _GetGDevice                    = $AA32;
  840.     _DeviceLoop                    = $ABCA;                        {  Color Manager  }
  841.     _Color2Index                = $AA33;
  842.     _Index2Color                = $AA34;
  843.     _InvertColor                = $AA35;
  844.     _RealColor                    = $AA36;
  845.     _GetSubTable                = $AA37;
  846.     _UpdatePixMap                = $AA38;
  847.  
  848.                                                                 {  Dialog Manager  }
  849.     _NewCDialog                    = $AA4B;
  850.     _NewColorDialog                = $AA4B;
  851.     _MakeITable                    = $AA39;
  852.     _AddSearch                    = $AA3A;
  853.     _AddComp                    = $AA3B;
  854.     _SetClientID                = $AA3C;
  855.     _ProtectEntry                = $AA3D;
  856.     _ReserveEntry                = $AA3E;
  857.     _SetEntries                    = $AA3F;
  858.     _QDError                    = $AA40;
  859.     _SaveEntries                = $AA49;
  860.     _RestoreEntries                = $AA4A;
  861.     _DelSearch                    = $AA4C;
  862.     _DelComp                    = $AA4D;
  863.     _SetStdCProcs                = $AA4E;
  864.     _StdOpcodeProc                = $ABF8;                        {  Added to Toolbox for color  }
  865.     _SetWinColor                = $AA41;
  866.     _GetAuxWin                    = $AA42;
  867.     _SetCtlColor                = $AA43;
  868.     _SetControlColor            = $AA43;
  869.     _GetAuxCtl                    = $AA44;
  870.     _GetAuxiliaryControlRecord    = $AA44;
  871.     _NewCWindow                    = $AA45;
  872.     _GetNewCWindow                = $AA46;
  873.     _SetDeskCPat                = $AA47;
  874.     _GetCWMgrPort                = $AA48;
  875.     _GetCVariant                = $A809;
  876.     _GetControlVariant            = $A809;
  877.     _GetWVariant                = $A80A;                        {  Added to Menu Manager for color  }
  878.     _DelMCEntries                = $AA60;
  879.     _DeleteMCEntries            = $AA60;
  880.     _GetMCInfo                    = $AA61;
  881.     _SetMCInfo                    = $AA62;
  882.     _DispMCInfo                    = $AA63;
  883.     _DisposeMCInfo                = $AA63;
  884.     _GetMCEntry                    = $AA64;
  885.     _SetMCEntries                = $AA65;
  886.     _MenuChoice                    = $AA66;                        {  Dialog Manager  }
  887.     _DialogDispatch                = $AA68;                        {  Font Manager  }
  888.     _SetFractEnable                = $A814;
  889.     _FontDispatch                = $A854;
  890.  
  891.                                                                 {  Palette Manager  }
  892.     _InitPalettes                = $AA90;
  893.     _NewPalette                    = $AA91;
  894.     _GetNewPalette                = $AA92;
  895.     _DisposePalette                = $AA93;
  896.     _ActivatePalette            = $AA94;
  897.     _SetPalette                    = $AA95;
  898.     _NSetPalette                = $AA95;
  899.     _GetPalette                    = $AA96;
  900.     _PmForeColor                = $AA97;
  901.     _PmBackColor                = $AA98;
  902.     _AnimateEntry                = $AA99;
  903.     _AnimatePalette                = $AA9A;
  904.     _GetEntryColor                = $AA9B;
  905.     _SetEntryColor                = $AA9C;
  906.     _GetEntryUsage                = $AA9D;
  907.     _SetEntryUsage                = $AA9E;
  908.     _CTab2Palette                = $AA9F;
  909.     _Palette2CTab                = $AAA0;
  910.     _CopyPalette                = $AAA1;
  911.     _PaletteDispatch            = $AAA2;
  912.  
  913.                                                                 {  Sound Manager  }
  914.     _EgretDispatch                = $A092;
  915.     _SoundDispatch                = $A800;
  916.     _SndDisposeChannel            = $A801;
  917.     _SndAddModifier                = $A802;
  918.     _SndDoCommand                = $A803;
  919.     _SndDoImmediate                = $A804;
  920.     _SndPlay                    = $A805;
  921.     _SndControl                    = $A806;
  922.     _SndNewChannel                = $A807;
  923.  
  924.     _SlotManager                = $A06E;
  925.     _ScriptUtil                    = $A8B5;
  926.     _SCSIAtomic                    = $A089;
  927.     _SCSIDispatch                = $A815;
  928.     _Long2Fix                    = $A83F;
  929.     _Fix2Long                    = $A840;
  930.     _Fix2Frac                    = $A841;
  931.     _Frac2Fix                    = $A842;
  932.     _Fix2X                        = $A843;
  933.     _X2Fix                        = $A844;
  934.     _Frac2X                        = $A845;
  935.     _X2Frac                        = $A846;
  936.     _FracCos                    = $A847;
  937.     _FracSin                    = $A848;
  938.     _FracSqrt                    = $A849;
  939.     _FracMul                    = $A84A;
  940.     _FracDiv                    = $A84B;
  941.     _FixDiv                        = $A84D;
  942.     _NMInstall                    = $A05E;
  943.     _NMRemove                    = $A05F;
  944.     _QDExtensions                = $AB1D;
  945.     _ComponentDispatch            = $A82A;
  946.  
  947.     _DockingDispatch            = $AA57;                        {  PowerPC Mac  }
  948.     _MixedModeDispatch            = $AA59;
  949.     _CodeFragmentDispatch        = $AA5A;                        {  Translation Manager  }
  950.     _TranslationDispatch        = $ABFC;                        {  Miscellaneous Traps  }
  951.     _InitDogCow                    = $A89F;
  952.     _EnableDogCow                = $A89F;
  953.     _DisableDogCow                = $A89F;
  954.     _Moof                        = $A89F;
  955.     _HFSPinaforeDispatch        = $AA52;                        {  Text Services Manager  }
  956.     _TextServicesDispatch        = $AA54;                        {  Cursor Device Manager  }
  957.     _CursorDeviceDispatch        = $AADB;
  958.  
  959. {  PowerTalk (AOCE)  }
  960.     _OCEUtils                    = $AA5C;
  961.     _DigitalSignature            = $AA5D;
  962.     _TBDispatch                    = $AA5E;
  963.  
  964. {  Collection Manager  }
  965.     _CollectionMgr                = $ABF6;
  966.  
  967. {$ALIGN RESET}
  968. {$POP}
  969.  
  970. {$SETC UsingIncludes := TrapsIncludes}
  971.  
  972. {$ENDC} {__TRAPS__}
  973.  
  974. {$IFC NOT UsingIncludes}
  975.  END.
  976. {$ENDC}
  977.